using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DailyTestBLL;
using System.Threading;

namespace DailyTestForm
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        string strXML = "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                            "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                                                "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                    "<ShortInterestRecord settlementDate=\"2008-02-27\">" +
                    "<ShortInterest>3361165.00</ShortInterest>" +
                    "<PercentageChanged>0.10</PercentageChanged>" +
                    "<AverageDailyVolume>454842.00</AverageDailyVolume>" +
                    "<DaysToCover>7.39</DaysToCover>" +
                    "<PercentageOfFloat>0.15</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>" +
                  "<ShortInterestRecord settlementDate=\"2008-03-04\">" +
                    "<ShortInterest>3075430.00</ShortInterest>" +
                    "<PercentageChanged>-0.04</PercentageChanged>" +
                    "<AverageDailyVolume>281305.00</AverageDailyVolume>" +
                    "<DaysToCover>10.93</DaysToCover>" +
                    "<PercentageOfFloat>0.13</PercentageOfFloat>" +
                    "<PercentageOfSharesOutstanding>0.05</PercentageOfSharesOutstanding>" +
                  "</ShortInterestRecord>";
        string connStr = "Data Source=Devadresrchdb1;Initial Catalog=OperationData;Persist Security Info=False;User ID=MDProduction;Password=@Icu5nP)";
        string strProcdure1 = "OperationData.dbo.sp_testXML";
        string strProcdure2 = "OperationData.dbo.sp_testXML2";
        long lBegin1;
        long lEnd1;
        long lBtw1;
        long lBegin2;
        long lEnd2;
        long lBtw2;
        long lDiff;
        string strTmp;
        private void PrepareXMl()
        {
            //strTmp = strXML + strXML;
        }

        private void btnBeginTest_Click(object sender, EventArgs e)
        {
            DataAccess da1 = new DataAccess();
            da1.ConnStr = connStr;
            //string strBegin = System.DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss");
            PrepareXMl();
            strXML = "<ShortInterest companyId=\"0C0000095C\" shareClassId=\"0P00000003\">" + strTmp + "</ShortInterest>";
            lBegin1 = System.DateTime.Now.Ticks;
            for (int i = 0; i < 1; i++)
            {
                da1.GetData(RunWay.Procedure, strProcdure1, strXML);
            }

            lEnd1 = System.DateTime.Now.Ticks;
            //string strEnd1 = System.DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss");
            //string strEnd2 = System.DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss");

            lBtw1 = lEnd1 - lBegin1;
            //MessageBox.Show("Begin:" + strBegin + "\r\nEnd1:" + strEnd1 + "\r\nEnd2:" + strEnd2 );
            //MessageBox.Show( "NewWay:" + lBetween1.ToString() + "\r\nOldWay:" + lBetween2.ToString() + "\r\nNewWay-OldWay:" + lDiff.ToString() );
            MessageBox.Show("done");
        }

        private void button1_Click(object sender, EventArgs e)
        {
            DataAccess da2 = new DataAccess();
            da2.ConnStr = connStr;
            //PrepareXMl();
            strXML = "<ShortInterest companyId=\"0C0000095C\" shareClassId=\"0P00000003\">" + strTmp + "</ShortInterest>";

            lBegin2 = System.DateTime.Now.Ticks;
            for (int i = 0; i < 1; i++)
            {
               da2.GetData(RunWay.Procedure, strProcdure2, strXML);
            }

            lEnd2 = System.DateTime.Now.Ticks;

            lBtw2 = lEnd2 - lBegin2;
            lDiff = lBtw1 - lBtw2;
            MessageBox.Show("NewWay:" + lBtw1.ToString() + "\r\nOldWay:" + lBtw2.ToString() + "\r\nNewWay-OldWay:" + lDiff.ToString());
        }

        private void button2_Click(object sender, EventArgs e)
        {
            double a = DailyTestBLL.DllImport.Abs(-1);
            MessageBox.Show(a.ToString());
        }

        private void button3_Click(object sender, EventArgs e)
        {
            System.Globalization.CultureInfo ctrl = new System.Globalization.CultureInfo(2052);
            //ctrl.ClearCachedData();
            Thread.CurrentThread.CurrentCulture = ctrl;
            MessageBox.Show(Thread.CurrentThread.CurrentCulture.TextInfo.CultureName);
            Thread.CurrentThread.CurrentUICulture = ctrl;
            MessageBox.Show("asdasd");
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            label1.Text = "test\r\nonelinw\r\ntwoline";
        }

        private void button4_Click(object sender, EventArgs e)
        {
            frmWar frm = new frmWar();
            frm.ShowDialog();
        }
    }
}